{	Problem: http://codeforces.ru/problemset/problem/110/B
	Verdict: Accepted
}
var
    n : longint;
    s : string;

begin 
    s := 'abcd';
    read(n);
    while n > 3 do begin
        write(s);
        dec(n, 4);
    end;
    write(copy(s, 1, n));
end.